package com.wn55.hrms.mapper;

import com.wn55.hrms.entity.Employee;
import com.wn55.hrms.entity.LaborContract;
import com.wn55.hrms.service.vo.ContractVo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LaborContractMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(LaborContract record);

    LaborContract selectByPrimaryKey(Integer id);

    List<LaborContract> selectAll();

    int updateByPrimaryKey(LaborContract record);

    List<ContractVo> listByCondition(String name);
}